#define ONDISCONNECTED 0
#define ONERROR 1
#define ONSUBMARKETDATA 2
#define ONUNSUBMARKETDATA 3
#define ONDEPTHMARKETDATA 4
#define ONSUBORDERBOOK 5
#define ONUNSUBORDERBOOK 6
#define ONORDERBOOK 7
#define ONSUBTICKBYTICK 8
#define ONUNSUBTICKBYTICK 9
#define ONTICKBYTICK 10
#define ONSUBSCRIBEALLMARKETDATA 11
#define ONUNSUBSCRIBEALLMARKETDATA 12
#define ONSUBSCRIBEALLORDERBOOK 13
#define ONUNSUBSCRIBEALLORDERBOOK 14
#define ONSUBSCRIBEALLTICKBYTICK 15
#define ONUNSUBSCRIBEALLTICKBYTICK 16
#define ONQUERYALLTICKERS 17
#define ONQUERYTICKERSPRICEINFO 18
#define ONSUBSCRIBEALLOPTIONMARKETDATA 19
#define ONUNSUBSCRIBEALLOPTIONMARKETDATA 20
#define ONSUBSCRIBEALLOPTIONORDERBOOK 21
#define ONUNSUBSCRIBEALLOPTIONORDERBOOK 22
#define ONSUBSCRIBEALLOPTIONTICKBYTICK 23
#define ONUNSUBSCRIBEALLOPTIONTICKBYTICK 24
